﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="leave_CK.aspx.cs" Inherits="Dryricenet.houTai.leave_CK" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
        .xlk {
            width: 100px;
            height: 20px;
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table width="98%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#1c232f"
                style="border-collapse: collapse">
                <tbody>
                    <tr class="tr2">
                        <td bgcolor="#1c232f" style="padding-left: 5px; height: 25px;color:#ffffff;text-align:center;">留言反馈信息
                        </td>
                    </tr>
                    <tr class="tr1">
                        <td style="padding-left: 5px; height: 25px">标题：<asp:TextBox ID="txtTitle" runat="server" Style='border: solid 1px #000000; color: #666666'
                            Width="80px"></asp:TextBox>
                            内容：<asp:TextBox ID="txtContent" runat="server" Style='border: solid 1px #000000; color: #666666'
                                Width="80px"></asp:TextBox>
                            回复：<asp:TextBox ID="txtHf" runat="server" Style='border: solid 1px #000000; color: #666666'
                                Width="80px"></asp:TextBox>



                            &nbsp;<asp:Button ID="Search" runat="server" OnClick="Search_Click" Text="查找" Style='border: solid 1px #000000; color: #666666' />
                            &nbsp;<asp:Button ID="Export" runat="server" OnClick="Export_Click" Text="数据导出EXCEL"
                                Style='border: solid 1px #000000; color: #666666' />
                            <br />
                            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EmptyDataText="未查询到数据" Width="100%" Font-Size="14px">
                                <Columns>
                                    <asp:BoundField DataField="LeaveID" HeaderText="序号">
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Title" HeaderText="标题">
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Content" HeaderText="内容">
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="UserName" HeaderText="用户">
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Time" HeaderText="时间">
                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="Reply" HeaderText="回复">
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="操作">
                                       
                                        <ItemTemplate>
                                            <a href='leave_Reply.aspx?LeaveID=<%#DataBinder.Eval(Container.DataItem,"LeaveID") %>'>回复</a>
                                    <a href='leave_Delete.aspx?LeaveID=<%#DataBinder.Eval(Container.DataItem, "LeaveID") %>&tablename=liuyan&npage=liuyan_list.aspx'
                                        onclick="return confirm('确定要删除？')">删除</a>
                                        
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr class="tr1">
                        <td bgcolor="#1c232f" style="padding-left: 5px; height: 25px">
                            <asp:Label ID="Label1" runat="server" Text="Label" ForeColor="White"></asp:Label>
                            <input type="button" name="Submit5" value="返回" onclick="javascript:history.back();" />
                            <input type="button" name="Submit52" value="打印" onclick="javascript:window.print();" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</body>
</html>
